const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})

module.exports = {
  devServer: {
    port: 80,
    proxy: {
      '/dev': {
        target: 'http://localhost:8082/',
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/dev': ''
        }
      },
      '/pro': {
        target: 'http://62.234.13.26:8082/',
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/pro': ''
        }
      }
    }
  }
}